package com.yeyks.common.utils.apputil.mqenum;

import lombok.Data;

import java.io.Serializable;

/**
 * 推送的类型
 *
 * @author Administrator
 */
@Data
public class TemplateType<T> implements Serializable {


    private static final long serialVersionUID = -7764030589338098362L;

    private int code;
    private String msg;
    private T data;

    public TemplateType() {
    }

    public TemplateType(int code, String msg, T data) {
        this.code = code;
        this.msg = msg;
        this.data = data;
    }
}
